#include "Queue.h"

void Test()
{
    po point;
    //初始化
    QueueNoteInit(&point);
    //插入
    QueueNotePush(&point,1);
    QueueNotePush(&point,2);
    QueueNotePush(&point,3);
    QueueNotePush(&point,4);

    //取头部数据
    printf("head->%d\n",QueueFront(&point));

    //取尾部数据
    printf("tail->%d\n",QueueBack(&point));

    //队列个数
    printf("count->%d\n",QueueSize(&point));
    // 队头出队列
    QueuePop(&point);
    //销毁
     QueueDestroy(&point);

}
int main()
{
    Test();
    return 0;
}

